package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingService {

    void add(List<OrderSetting> list);

    List<Map> getOrderSettingByMonth(String date);

    void editNumberByDate(OrderSetting orderSetting);
    //分页查询
    PageResult pageQuery(QueryPageBean queryPageBean) throws Exception;
    //根据id删除
    void delete(Integer id);

    Result findByOrderDate(Date orderDate);
}
